package com.wiscamp.ninechapters.panels.application.dto;

public class JwtToken {

    private long applicationId;

    private long tenantId;

    private long userId;

    private String userName;

    private String token;

    public JwtToken() {
    }

    public JwtToken(long appId, long tenantId, long userId, String userName, String token) {
        this.applicationId = appId;
        this.tenantId = tenantId;
        this.userId = userId;
        this.userName = userName;
        this.token = token;
    }

    public void setApplicationId(long appId) {
        this.applicationId = appId;
    }

    public long getApplicationId() {
        return this.applicationId;
    }

    public void setTenantId(long tenantId) {
        this.tenantId = tenantId;
    }

    public long getTenantId() {
        return this.tenantId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getUserId() {
        return this.userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String name) {
        this.userName = name;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
